

<script>

export default {
    name:'child',
    data(){
        return{
            peopleA:this.people,
            peopleB:{
                id:2,
                name:'小红'
            }
        }
    },
    props:{people:Object},
    render(h){
        return(
            <div>{this.peopleA.name}</div>
        )
    }
}
</script>